package com.situ.library.dao;

import com.situ.library.pojo.entity.Card;
import com.situ.library.pojo.query.CardQuery;
import com.situ.library.pojo.vo.CardVO;

import java.util.List;


public interface ICardDao {
    List<CardVO> selectByPage(CardQuery cardQuery);

    int selectTotalCount(CardQuery cardQuery);

    void deleteById(int id);

    void add(Card card);

    Card selectById(int id);

    void update(Card card);

    List<Card> selectAll();

    void updateStatus(int id, int status);
}
